<template>
	<view class="agreement">
		<view class="agreement-list" v-for="(item,index) in [1,2,3,4]" :key="index">
			<view class="agreement-list-part" @click="ToAgreement(index)">
				<text style="margin-left: 20rpx;">租赁服务协议</text>
				<image src="../static/suggest/more.png" style="width: 32rpx; height: 32rpx; margin-right: 20rpx;"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			ToAgreement(index){
				uni.navigateTo({
					url:'/pagesA/agreement/agreement2?id='+index
				})
			}
		}
	}
</script>

<style>
	page{
		width: 100%;
		height: 100%;
	}
	.agreement{
		width: 100%;
		height: 100%;
		background-color: #f7f7f7;
	}
	.agreement-list{
		width: 100%;
		height: 120rpx;
		display: flex;
		justify-content: center;
		align-items: flex-end;
	}
	.agreement-list-part{
		width: 90%;
		height: 90rpx;
		background-color: white;
		font-size: 32rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		border-radius: 12rpx;
		margin-top: 20rpx;
	}
	
</style>
